package com.xc.h05.exception;

import com.xc.h05.util.R;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class ExceptionController {
    /*@ExceptionHandler(Exception.class)
    public R handleException(Exception e){
        System.out.println(e);
        return R.fail("服务器异常，请稍后再试吧！");
    }*/
}
